The “open report printing” command allows printing reports from scripts. This command selects the template to be used; the “close printing” command initiates the printing:
-- part contents for background part 6
----- text -----
PRINTING CONTROL FROM SCRIPTS
-- part contents for card part 1
----- text -----
on PrintLabels
open report printing with template "mailing labels"